<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
	<%
	    request.setAttribute("x", 11);
	    request.setAttribute("day", "xx");
	%>
	<c:if test="${requestScope.x > 1 && requestScope.x < 10}">
		<h1>1-10之间的整数</h1>
	</c:if>
	<c:if test="${requestScope.x > 10 && requestScope.x < 20}">
		<h1>11-20之间的整数</h1>
	</c:if>

	<c:choose>
		<c:when test="${requestScope.day == 'MONDAY'}">
			<h1>星期一</h1>
		</c:when>
		<c:when test="${requestScope.day == 'TUESDAY'}">
			<h1>星期二</h1>
		</c:when>
		<c:otherwise>
			<h1>内容不对哟</h1>
		</c:otherwise>
	</c:choose>

</body>
</html>